Change in openvpn[master]: Doxygen: Fix missing parameter warnings
A message that is not in the archive (sent off-list or not yet received): gerrit.1735395222000.I3bf775bbdea742575210606e174ccafe840677c9@...2715...
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to do a code review.
Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to review the following change.
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/tls_crypt.h
13 files changed, 41 insertions(+), 29 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/1
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 120 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1513,10 +1513,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1052,8 +1052,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +2 -1
@@ -55,7 +55,8 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully.
src/openvpn/options.c +1 -0
@@ -3572,6 +3572,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -278,13 +278,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/tls_crypt.h +1 -0
@@ -206,6 +206,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 1
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newchange
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to look at the new patch set (#2).
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/tls_crypt.h
13 files changed, 41 insertions(+), 29 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/2
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 120 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1513,10 +1513,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1052,8 +1052,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +2 -1
@@ -55,7 +55,8 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully.
src/openvpn/options.c +1 -0
@@ -3572,6 +3572,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -278,13 +278,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/tls_crypt.h +1 -0
@@ -206,6 +206,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 2
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newpatchset
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to look at the new patch set (#3).
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/tls_crypt.h
13 files changed, 43 insertions(+), 31 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/3
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 120 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1521,10 +1521,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1052,8 +1052,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -55,12 +55,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param ls - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param ls Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *ls);
src/openvpn/options.c +1 -0
@@ -3539,6 +3539,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/tls_crypt.h +1 -0
@@ -206,6 +206,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 3
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newpatchset
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to look at the new patch set (#4).
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/tls_crypt.h
13 files changed, 43 insertions(+), 31 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/4
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1521,10 +1521,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1052,8 +1052,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -55,12 +55,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param ls - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param ls Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *ls);
src/openvpn/options.c +1 -0
@@ -3607,6 +3607,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/tls_crypt.h +1 -0
@@ -206,6 +206,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 4
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newpatchset
Attention is currently required from: plaisthos.
Hello plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to look at the new patch set (#5).
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/multi.c
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/ssl_verify.h
M src/openvpn/tls_crypt.h
15 files changed, 45 insertions(+), 33 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/5
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1523,10 +1523,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4241,7 +4241,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3508,6 +3508,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 5
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-MessageType: newpatchset
Attention is currently required from: flichtenheld.
plaisthos has posted comments on this change. ( http://gerrit.openvpn.net/c/openvpn/+/848?usp=email )
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Patch Set 5: Code-Review+2
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 5
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Mon, 19 May 2025 13:27:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
PATCH v5 1/1 Doxygen: Fix missing parameter warnings
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/848
This mail reflects revision 5 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <[email protected]...>
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -938,7 +938,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2600,7 +2600,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1523,10 +1523,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -454,10 +454,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4241,7 +4241,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3508,6 +3508,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -295,8 +295,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @returns true if a key was successfully extracted. */
Attention is currently required from: flichtenheld.
Hello plaisthos,
I'd like you to reexamine a change. Please visit
http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
to look at the new patch set (#6).
The change is no longer submittable: checks~ChecksSubmitRule is unsatisfied now.
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/multi.c
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/ssl_verify.h
M src/openvpn/tls_crypt.h
15 files changed, 45 insertions(+), 33 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/6
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -909,7 +909,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2571,7 +2571,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1508,10 +1508,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -443,10 +443,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4247,7 +4247,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3500,6 +3500,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -296,8 +296,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @param initial_packet whether this is the initial packet of the * connection. Only in these scenarios unwrapping
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 6
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-MessageType: newpatchset
PATCH v6 1/1 Doxygen: Fix missing parameter warnings
In reply to a message not in the archiveFrom: Frank Lichtenheld <[email protected]...>
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
---
This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/848
This mail reflects revision 6 of this Change.
Acked-by according to Gerrit (reflected above):
Arne Schwabe <[email protected]...>
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -909,7 +909,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2571,7 +2571,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1508,10 +1508,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -443,10 +443,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4247,7 +4247,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3500,6 +3500,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -296,8 +296,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @param initial_packet whether this is the initial packet of the * connection. Only in these scenarios unwrapping
[Openvpn-devel] [PATCH applied] Re: Doxygen: Fix missing parameter warnings
Thanks. Documentation improvements are always good :-)
As for the readers that wonder what v5..v6 was about - rebase, context changed in tls_crypt.h, and "git am" did not know what to do with it, while "git rebase" and gerrit handled it just fine... sorry for the extra noise on the list.
Your patch has been applied to the master branch.
commit d2b59d6db2ee11f3875257b854e0b77265389f2c
Author: Frank Lichtenheld Date: Mon May 19 16:35:44 2025 +0200
Doxygen: Fix missing parameter warnings
Signed-off-by: Frank Lichtenheld <[email protected]...>
Acked-by: Arne Schwabe <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31712.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering
cron2 has uploaded a new patch set (#7) to the change originally created by flichtenheld. ( http://gerrit.openvpn.net/c/openvpn/+/848?usp=email )
The following approvals got outdated and were removed:
Code-Review+2 by plaisthos
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31712.html
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/multi.c
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/ssl_verify.h
M src/openvpn/tls_crypt.h
15 files changed, 45 insertions(+), 33 deletions(-)
git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/48/848/7
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -909,7 +909,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2571,7 +2571,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1508,10 +1508,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -443,10 +443,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4247,7 +4247,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3500,6 +3500,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -296,8 +296,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @param initial_packet whether this is the initial packet of the * connection. Only in these scenarios unwrapping
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 7
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: newpatchset
cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/848?usp=email )
Change subject: Doxygen: Fix missing parameter warnings
......................................................................
Doxygen: Fix missing parameter warnings
This fixes almost all of the remaining warnings in our doxygen. Mostly about missing parameters in otherwise documented functions (completely undocumented functions do not cause warnings).
Other changes:
- Exclude out/ directory (used by CMakePresets.json)
- Output doxygen warnings into a separate file, which can be used by CI systems to check for new warnings
- Increase DOT_GRAPH_MAX_NODES to avoid warnings about some of the central header files (syshead.h and buffer.h)
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg31712.html
---
M doc/doxygen/openvpn.doxyfile.in
M src/openvpn/forward.c
M src/openvpn/fragment.h
M src/openvpn/manage.c
M src/openvpn/mudp.h
M src/openvpn/multi.c
M src/openvpn/options.c
M src/openvpn/ssl.h
M src/openvpn/ssl_backend.h
M src/openvpn/ssl_ncp.h
M src/openvpn/ssl_pkt.c
M src/openvpn/ssl_pkt.h
M src/openvpn/ssl_util.h
M src/openvpn/ssl_verify.h
M src/openvpn/tls_crypt.h
15 files changed, 45 insertions(+), 33 deletions(-)
doc/doxygen/openvpn.doxyfile.in +3 -3
@@ -852,7 +852,7 @@ # messages should be written. If left blank the output is written to standard # error (stderr). -WARN_LOGFILE = +WARN_LOGFILE = @abs_top_builddir@/doc/doxygen.warnings.log #--------------------------------------------------------------------------- # Configuration options related to the input files
@@ -909,7 +909,7 @@ # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = +EXCLUDE = @abs_top_srcdir@/out/ # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded
@@ -2571,7 +2571,7 @@ # Minimum value: 0, maximum value: 10000, default value: 50. # This tag requires that the tag HAVE_DOT is set to YES. -DOT_GRAPH_MAX_NODES = 50 +DOT_GRAPH_MAX_NODES = 150 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs # generated by dot. A depth value of 3 means that only nodes reachable from the
src/openvpn/forward.c +4 -4
@@ -1508,10 +1508,10 @@* IPv6 packet in buf and sends it directly back to the client via the tun * device when used on a client and via the link if used on the server. * -* @param buf - The buf containing the packet for which the icmp6 -* unreachable should be constructed. -* -* @param client - determines whether to the send packet back via tun or link +* @param c Tunnel context +* @param buf The buf containing the packet for which the icmp6 +* unreachable should be constructed. +* @param client Determines whether to the send packet back via tun or link */ void ipv6_send_icmp_unreachable (struct context *c,struct buffer *buf,bool client)
src/openvpn/fragment.h +5 -4
@@ -443,10 +443,11 @@* packets which have not yet been reassembled completely but are already * older than their time-to-live. * -* @param f - The \c fragment_master structure for this VPN -* tunnel. -* @param frame - The packet geometry parameters for this VPN -* tunnel. +* @param[in] f The \c fragment_master structure for this VPN +* tunnel. +* @param[in] frame The packet geometry parameters for this VPN +* tunnel. +* @param[out] tv Will be set to time for next housekeeping. */ static inline void fragment_housekeeping (struct fragment_master *f,struct frame *frame,struct timeval *tv)
src/openvpn/manage.c +2 -1
@@ -1059,8 +1059,9 @@* @param man The management interface struct * @param cid_str The CID in string form * @param kid_str The key ID in string form -* @param extra The string to be send to the client containing +* @param extra The string to be sent to the client containing * the information of the additional steps +* @param timeout_str The timeout value in string form */ static void man_client_pending_auth(struct management *man, const char *cid_str,
src/openvpn/mudp.h +4 -3
@@ -46,12 +46,13 @@* it. If no entry exists, this function handles its creation, and if * successful, returns the newly created instance. * -* @param m - The single multi_context structure. -* @param sock - Listening socket where this instance is connecting to +* @param m The single multi_context structure. +* @param[out] floated Returns whether the client has floated. +* @param sock Listening socket where this instance is connecting to * * @return A pointer to a multi_instance if one already existed for the * packet's source address or if one was a newly created successfully. -* NULL if one did not yet exist and a new one was not created. +* NULL if one did not yet exist and a new one was not created. */ struct multi_instance *multi_get_create_instance_udp (struct multi_context *m,bool *floated,struct link_socket *sock);
src/openvpn/multi.c +1 -1
@@ -4247,7 +4247,7 @@* Main event loop for OpenVPN in point-to-multipoint server mode. * @ingroup eventloop * -* @param top - Top-level context structure. +* @param multi context structure */ static void tunnel_server_loop (struct multi_context *multi)
src/openvpn/options.c +1 -0
@@ -3500,6 +3500,7 @@* altered to guarantee compatibility with the version specified by the * user via --compat-mode. * +* @param o Options state * @param version need compatibility with openvpn versions before the * one specified (20401 = before 2.4.1) * @return whether compatibility should be enabled
src/openvpn/ssl.h +7 -6
@@ -281,13 +281,14 @@* packet is inserted into the Reliability Layer and will be handled * later. * -* @param multi - The TLS multi structure associated with the VPN tunnel +* @param[in] multi The TLS multi structure associated with the VPN tunnel * of this packet. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. -* @param opt - Returns a crypto options structure with the appropriate security -* parameters to handle the packet if it is a data channel packet. -* @param ad_start - Returns a pointer to the start of the authenticated data of +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. +* @param[out] opt Returns a crypto options structure with the appropriate +* security parameters to handle the packet if it is a data channel packet. +* @param[in] floated Set whether the peer is allowed to have floated. +* @param[out] ad_start Returns a pointer to the start of the authenticated data * of this packet * * @return
src/openvpn/ssl_backend.h +5 -0
@@ -241,6 +241,8 @@* a string containing the information in the case * of inline files. * @param pkcs12_file_inline True if pkcs12_file is an inline file. +* @param load_ca_file True if CAs from the file should be added to +* the cert store and be trusted. * * @return 1 if an error occurred, 0 if parsing was * successful.
@@ -313,6 +315,9 @@* inline files. * @param ca_file_inline True if ca_file is an inline file * @param ca_path The path to load the CAs from +* @param tls_server True if we are the server side of the TLS +* connection and should use the CA for verifying +* client certificates */ void tls_ctx_load_ca (struct tls_root_ctx *ctx,const char *ca_file,bool ca_file_inline,const char *ca_path,bool tls_server);
src/openvpn/ssl_ncp.h +4 -1
@@ -66,7 +66,10 @@* Make sure to call tls_session_update_crypto_params() after calling this * function. * -* @param gc gc arena that is ONLY used to allocate the returned string +* @param server_list Our own cipher list +* @param peer_info Peer information +* @param remote_cipher Fallback cipher, ignored if peer sent \c IV_CIPHERS +* @param gc gc arena that is used to allocate the returned string * * @returns NULL if no common cipher is available, otherwise the best common * cipher
src/openvpn/ssl_pkt.c +2 -2
@@ -296,8 +296,8 @@/* * This function is similar to tls_pre_decrypt, except it is called * when we are in server mode and receive an initial incoming -* packet. Note that we don't modify -* any state in our parameter objects. The purpose is solely to +* packet. Note that we don't modify any state in our parameter +* objects except state. The purpose is solely to * determine whether we should generate a client instance * object, in which case true is returned. *
src/openvpn/ssl_pkt.h +4 -7
@@ -109,10 +109,6 @@struct session_id server_session_id; }; -/** -* -* @param state -*/ void free_tls_pre_decrypt_state (struct tls_pre_decrypt_state *state);/**
@@ -137,10 +133,11 @@* * This function is only used in the UDP p2mp server code path * -* @param tas - The standalone TLS authentication setting structure for +* @param[in] tas The standalone TLS authentication setting structure for * this process. -* @param from - The source address of the packet. -* @param buf - A buffer structure containing the incoming packet. +* @param[out] state The state struct to store information in. +* @param[in] from The source address of the packet. +* @param[in] buf buffer structure containing the incoming packet. * * @return * @li True if the packet is valid and a new VPN tunnel should be created
src/openvpn/ssl_util.h +1 -0
@@ -39,6 +39,7 @@* * @param peer_info The peer's peer_info * @param var The variable *including* =, e.g. IV_CIPHERS= +* @param gc GC arena to allocate return value in * * @return The content of the variable as NULL terminated string or NULL if the * variable cannot be found.
src/openvpn/ssl_verify.h +1 -1
@@ -153,7 +153,7 @@/** * Sets the common name field for the given tunnel * -* @param multi The tunnel to set the common name for +* @param session The session to set the common name for * @param common_name The name to set the common name to */ void
src/openvpn/tls_crypt.h +1 -0
@@ -204,6 +204,7 @@* @param buf Buffer containing a received P_CONTROL_HARD_RESET_CLIENT_V3 * message. * @param ctx tls-wrap context to be initialized with the client key. +* @param opt TLS options, used for \c tls-crypt-v2-verify script. * * @param initial_packet whether this is the initial packet of the * connection. Only in these scenarios unwrapping
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/848?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I3bf775bbdea742575210606e174ccafe840677c9
Gerrit-Change-Number: 848
Gerrit-PatchSet: 7
Gerrit-Owner: flichtenheld <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-MessageType: merged